package gof.com.yew.command;
//ConcreteCommand具体实现类
public class BuyCommand implements Command {
	private  Receiver r;

	public BuyCommand(Receiver r) {
		this.r = r;
	}

	@Override
	public void excute() {
		r.buy();
	}

}
